home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000251_news@columbia.edu _Tue Dec 3 14:17:53 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  10KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.8.3/8.8.3) with ESMTP id OAA20917 for <kermit.misc@watsun.cc.columbia.edu>; Tue, 3 Dec 1996 14:17:52 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.8.3/8.8.3) id OAA23796 for kermit.misc@watsun; Tue, 3 Dec 1996 14:17:52 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Problems with 132 columns under Windows 3.1
  8. Date: 3 Dec 1996 19:17:03 GMT
  9. Organization: Columbia University
  10. Lines: 171
  11. Message-ID: <581ubf$9sv$1@apakabar.cc.columbia.edu>
  12. References: <01bbe145$f49acf80$286ca4cd@jljones>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <01bbe145$f49acf80$286ca4cd@jljones>,
  16. John L. Jones <jljones@burgoyne.com> wrote:
  17. : We have a problem running Kermit 3.14 under Windows 3.x and being able to
  18. : view 132 columns on a VMS box.  We can view 80 or 132 columns when Kermit
  19. : runs on DOS, but when we get into Windows everything falls apart.
  20. : Please let me know if anyone has any ideas on this.  The command that we
  21. : enter under VMS to get the 132 columns is SET TERM/WIDTH=132 or SET
  22. : TERM/WIDTH=80
  23. Everything we know on this topic is written down in the file KERMIT.UPD
  24. that is in your MS-DOS Kermit directory.  I reproduce it here for your
  25. convenience:
  26.  
  27. (16) WIDE SCREENS AND HORIZONTAL SCROLLING
  28.  
  29. Kermit changes between 80 and 132 column mode at host request (CSI ? 3 h / l)
  30. or when you give an explicit SET TERMINAL WIDTH { 80, 132 } command.  Until
  31. version 3.13, 132-column screens were possible only on PCs with video adapters
  32. that have a 132-column text mode.  Now MS-DOS Kermit also includes support for
  33. DEC VT 132-column mode and Data General compressed text on EGA and VGA video
  34. adapters that do not have a 132-column text mode, by entering graphics mode
  35. and writing the characters dot by dot. 128 columns are displayed rather than
  36. 132 due to the PC's screen geometry but you can use MS-DOS Kermit's horizontal
  37. scrolling feature to see the rightmost 4 columns.  Wide screens are handled
  38. according to the following commands:
  39.  
  40. SET TERMINAL VIDEO-CHANGE {ENABLED, DISABLED, DOS-ONLY}
  41.   Enable or disable the video screen from switching between 80 and 132
  42.   columns.  By default, this is enabled in DOS only (DOS-ONLY).  Video-mode
  43.   switching can wreak havoc on some (but not all) PCs when done in a Microsoft
  44.   Windows window and so by default video-mode switching is disabled in
  45.   Windows.  Use ENABLED to enable it AT YOUR OWN RISK.  If it works, Windows
  46.   will probably force Kermit into a fullscreen session.  If it doesn't work,
  47.   then disable it again and use horizontal scrolling instead, or run Kermit
  48.   under plain DOS or in a fullscreen DOS window under Windows.  v3.14.
  49.  
  50. SET TERMINAL COMPRESSED-TEXT {GRAPHICS, TEXT}
  51.   Tells whether Kermit should use text (fast) or graphics (slow) mode for
  52.   compressed text (wide screens).  By default, it will use whichever method
  53.   it thinks is appropriate to your video adapter.  Graphics is allowed
  54.   on EGA, VGA or higher video systems.  v3.13.
  55.  
  56. Text mode will not actually display compressed text unless your video adapter
  57. supports this function, but Kermit's virtual screen is adjusted to
  58. the terminal-emulation width.  For example, if your screen shows 80 characters
  59. per line, but your terminal width is 132, then wrapping occurs at column 132
  60. (perhaps off the screen) rather than column 80, and Kermit reports its screen
  61. width as 132 (e.g. in response to a report-request escape sequence).
  62.  
  63. Of course, for 132-column operation, it is always better if your video adapter
  64. supports 132 columns directly -- the video board does all the work, which is
  65. much faster than writing screen dots in software!  This works if Kermit knows
  66. which kind of video adapter you have (Kermit determines this from a hopefully
  67. unique "signature" in the video BIOS, provided it has not been hidden from
  68. Kermit by Windows or your memory manager, see KERMIT.BWR).  Here is a list of
  69. such boards:
  70.  
  71.   ATI EGA and VGA Wonder
  72.   AST, Dell, and other boards based on Western Digital VGA boards
  73.   AT&T / Olivetti
  74.   Everex Viewpoint EV-659, FVGA-673, EV-678, Micro Enhancer Deluxe
  75.   IBM SVGA (= Tseng ET4000, e.g. on PS/ValuePoint)
  76.   IBM XGA
  77.   Paradise AutoSwitch EGA Mono
  78.   Paradise Professional
  79.   Paradise VGA Plus 16 (ROM BIOS 003056-xxx firmware)
  80.   Paradise VGA Plus (ROM BIOS 003056-xxx firmware)
  81.   Paradise VGA Professional (ROM BIOS 003056-xxx firmware)
  82.   Paradise VGA1024
  83.   STB VGA/EM (Tseng TVGA)
  84.   STB VGA/EM Plus (Tseng 4000), VGA/EM-16, VGA/EM-16 Plus
  85.   Tseng Labs EVA board with 132-column kit installed
  86.   Tseng Labs UltraPAK mono/Hercules with 132 column modes
  87.   Tseng Labs ET4000 SVGA
  88.   VESA-compatible video BIOS
  89.   Video 7 Vega Deluxe with 132X25.COM driver installed and Video 7 VGA
  90.  
  91. If you have an adapter capable of 132-column operation, but Kermit does not
  92. know how to activate it, set up your COLS132.BAT and COLS80.BAT files to do
  93. the switching, as described in "Using MS-DOS Kermit".
  94.  
  95. For Data General DASHER terminal emulation, screen widths up to 207 are
  96. supported for purposes of horizontal scrolling.  DG terminal emulation is in
  97. text mode by default.  As soon as the host commands the terminal to display
  98. compressed text, Kermit switches the entire screen to 132-column text mode if
  99. your video adapter supports it, and otherwise switches to (slower) graphics
  100. mode.  As in VT terminal emulation, this behavior is controlled by the SET
  101. TERMINAL COMPRESSED-TEXT command.  Unlike VT terminals, DASHER terminals (and
  102. MS-DOS Kermit, when in graphics mode) can display compressed and regular text
  103. on the screen at the same time.
  104.  
  105. (16.1) WIDE SCREENS AND ROLLBACK
  106.  
  107. Normally, Kermit only keeps 80 columns in its screen-rollback memory.  If you
  108. want to be able to roll back screens of 132 (or, for DG terminal emulation, up
  109. to 207) columns, you must set the KERMIT environment variable WIDTH to 132 (or
  110. the desired number) in your AUTOEXEC.BAT file, for example:
  111.  
  112.   SET KERMIT=WIDTH 132
  113.  
  114. The KERMIT environment variable must contain a WIDTH definition before you
  115. start MS-DOS Kermit in order for it to take effect.  Wide rollback screens
  116. need more memory than regular ones.
  117.  
  118. NOTE: The KERMIT=WIDTH value and SET TERMINAL WIDTH value are two different
  119. things.     The former controls memory allocation in the rollback buffer, the
  120. latter controls the actual display width (virtual or real) of your screen.
  121.  
  122. (16.2) HORIZONTAL SCROLLING  
  123.  
  124. If your logical screen width is greater than the physical screen width, MS-DOS
  125. Kermit 3.13 lets you scroll the screen horizontally by pushing keys.  The new
  126. keyboard verbs are:
  127.  
  128.   \Klfpage    Scroll left one "page" (= 20 columns) (screen moves right)
  129.   \Klfone     Scroll left one column
  130.   \Krtpage    Scroll right one page (screen moves left)
  131.   \Krtone     Scroll right one column
  132.  
  133. These verbs are unassigned by default. Here are the commands you could add to
  134. your MSCUSTOM.INI file if you wanted to assign them to the gray (T-pad) arrow
  135. keys on the extended (101) PC keyboard:
  136.  
  137.   SET KEY \2459 \Krtpage  ; Alt-Left arrow makes screen move left on page
  138.   SET KEY \5491 \Krtone      ; Ctrl-Left arrow moves screen one column to left
  139.   SET KEY \2461 \Klfpage  ; Alt-Right arrow makes screen move right one page  
  140.   SET KEY \5492 \Klfone      ; Ctrl-Right arrow moves screen one column right
  141.  
  142. When these keys are used in combination with the PageUp/Down keys, your screen
  143. becomes a "virtual window" on your session, which you can move around in
  144. arbitrary directions.
  145.  
  146. By analogy with SET TERMINAL ROLLBACK { ON, OFF }, which tells Kermit whether
  147. to move a rolled-back screen automatically to the bottom when new characters
  148. arrive from the host, the new command:
  149.  
  150.   SET TERMINAL HORIZONTAL-SCROLL { AUTOMATIC, MANUAL }
  151.  
  152. tells Kermit whether to scroll horizontally when a character arrives that
  153. would be displayed to the left or right of the visible screen. By default,
  154. horizontal scrolling is MANUAL during VT terminal emulation, and AUTOMATIC
  155. during DASHER emulation.  MANUAL means you have to push keys to scroll the
  156. screen horizontally, AUTOMATIC means that Kermit moves the screen to "catch"
  157. incoming characters.
  158.  
  159. (End quote)  And from the KERMIT.BWR file:
  160.  
  161. (12.5) 132-COLUMN MODE
  162.  
  163. Normally, you can't use 132-column text mode in a Windows window, because
  164. Windows takes over the graphics adapter and hides its particulars from Kermit,
  165. but you can use it in a full screen session.  But if you want to try it in a
  166. window anyway, tell Kermit to SET TERMINAL VIDEO-CHANGE ENABLE.  Then when a
  167. directive is received to switch video modes, Windows might pop up a dialog box
  168. saying that it won't let you do this in a Window session; click on OK and the
  169. Kermit session will be switched to full-screen.
  170.  
  171. If you have a monitor with fixed horizontal frequency but a video adapter that
  172. Kermit knows how to switch into 132 column mode, you will see only garbage on
  173. your screen whenever Kermit switches to 132 columns.  Get a new monitor or
  174. tell Kermit to SET TERMINAL VIDEO-CHANGE DISABLE.
  175.  
  176. On serial connections with Xon/Xoff flow control, Kermit sends Xoff and Xon
  177. apply when commanded to change its screen size between 80 and 132 columns,
  178. because this is often a time-consuming operation.  With RTS/CTS, Kermit turns
  179. off RTS while the size is being changed.
  180.  
  181. See KERMIT.UPD for further information on 132-column mode.
  182.  
  183. (End quote)